import java.util.concurrent.ArrayBlockingQueue;
import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUnit;

public class Main {
    public static void main(String[] args) {
        // 创建线程池
        ThreadPoolExecutor pool = /* TODO */;

        // 创建MyRunnable示例对象
        Runnable runnable = new MyRunnable();

        for (int i = 0; i < 5; i++) {
            // 使用线程池处理MyRunnable任务
            /* TODO */
        }

        // 等待全部任务执行完毕后，关闭线程池
        /* TODO */
    }


}